package com.guoranhao.business.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AppFunctionIconExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public AppFunctionIconExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAppFunctionIconIdIsNull() {
            addCriterion("app_function_icon_id is null");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdIsNotNull() {
            addCriterion("app_function_icon_id is not null");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdEqualTo(Long value) {
            addCriterion("app_function_icon_id =", value, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdNotEqualTo(Long value) {
            addCriterion("app_function_icon_id <>", value, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdGreaterThan(Long value) {
            addCriterion("app_function_icon_id >", value, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdGreaterThanOrEqualTo(Long value) {
            addCriterion("app_function_icon_id >=", value, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdLessThan(Long value) {
            addCriterion("app_function_icon_id <", value, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdLessThanOrEqualTo(Long value) {
            addCriterion("app_function_icon_id <=", value, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdIn(List<Long> values) {
            addCriterion("app_function_icon_id in", values, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdNotIn(List<Long> values) {
            addCriterion("app_function_icon_id not in", values, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdBetween(Long value1, Long value2) {
            addCriterion("app_function_icon_id between", value1, value2, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconIdNotBetween(Long value1, Long value2) {
            addCriterion("app_function_icon_id not between", value1, value2, "appFunctionIconId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdIsNull() {
            addCriterion("app_function_icon_category_id is null");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdIsNotNull() {
            addCriterion("app_function_icon_category_id is not null");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdEqualTo(Long value) {
            addCriterion("app_function_icon_category_id =", value, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdNotEqualTo(Long value) {
            addCriterion("app_function_icon_category_id <>", value, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdGreaterThan(Long value) {
            addCriterion("app_function_icon_category_id >", value, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdGreaterThanOrEqualTo(Long value) {
            addCriterion("app_function_icon_category_id >=", value, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdLessThan(Long value) {
            addCriterion("app_function_icon_category_id <", value, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdLessThanOrEqualTo(Long value) {
            addCriterion("app_function_icon_category_id <=", value, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdIn(List<Long> values) {
            addCriterion("app_function_icon_category_id in", values, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdNotIn(List<Long> values) {
            addCriterion("app_function_icon_category_id not in", values, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdBetween(Long value1, Long value2) {
            addCriterion("app_function_icon_category_id between", value1, value2, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andAppFunctionIconCategoryIdNotBetween(Long value1, Long value2) {
            addCriterion("app_function_icon_category_id not between", value1, value2, "appFunctionIconCategoryId");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameIsNull() {
            addCriterion("function_icon_name is null");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameIsNotNull() {
            addCriterion("function_icon_name is not null");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameEqualTo(String value) {
            addCriterion("function_icon_name =", value, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameNotEqualTo(String value) {
            addCriterion("function_icon_name <>", value, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameGreaterThan(String value) {
            addCriterion("function_icon_name >", value, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameGreaterThanOrEqualTo(String value) {
            addCriterion("function_icon_name >=", value, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameLessThan(String value) {
            addCriterion("function_icon_name <", value, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameLessThanOrEqualTo(String value) {
            addCriterion("function_icon_name <=", value, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameLike(String value) {
            addCriterion("function_icon_name like", value, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameNotLike(String value) {
            addCriterion("function_icon_name not like", value, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameIn(List<String> values) {
            addCriterion("function_icon_name in", values, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameNotIn(List<String> values) {
            addCriterion("function_icon_name not in", values, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameBetween(String value1, String value2) {
            addCriterion("function_icon_name between", value1, value2, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconNameNotBetween(String value1, String value2) {
            addCriterion("function_icon_name not between", value1, value2, "functionIconName");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescIsNull() {
            addCriterion("function_icon_desc is null");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescIsNotNull() {
            addCriterion("function_icon_desc is not null");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescEqualTo(String value) {
            addCriterion("function_icon_desc =", value, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescNotEqualTo(String value) {
            addCriterion("function_icon_desc <>", value, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescGreaterThan(String value) {
            addCriterion("function_icon_desc >", value, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescGreaterThanOrEqualTo(String value) {
            addCriterion("function_icon_desc >=", value, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescLessThan(String value) {
            addCriterion("function_icon_desc <", value, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescLessThanOrEqualTo(String value) {
            addCriterion("function_icon_desc <=", value, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescLike(String value) {
            addCriterion("function_icon_desc like", value, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescNotLike(String value) {
            addCriterion("function_icon_desc not like", value, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescIn(List<String> values) {
            addCriterion("function_icon_desc in", values, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescNotIn(List<String> values) {
            addCriterion("function_icon_desc not in", values, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescBetween(String value1, String value2) {
            addCriterion("function_icon_desc between", value1, value2, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconDescNotBetween(String value1, String value2) {
            addCriterion("function_icon_desc not between", value1, value2, "functionIconDesc");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlIsNull() {
            addCriterion("function_icon_url is null");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlIsNotNull() {
            addCriterion("function_icon_url is not null");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlEqualTo(String value) {
            addCriterion("function_icon_url =", value, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlNotEqualTo(String value) {
            addCriterion("function_icon_url <>", value, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlGreaterThan(String value) {
            addCriterion("function_icon_url >", value, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlGreaterThanOrEqualTo(String value) {
            addCriterion("function_icon_url >=", value, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlLessThan(String value) {
            addCriterion("function_icon_url <", value, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlLessThanOrEqualTo(String value) {
            addCriterion("function_icon_url <=", value, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlLike(String value) {
            addCriterion("function_icon_url like", value, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlNotLike(String value) {
            addCriterion("function_icon_url not like", value, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlIn(List<String> values) {
            addCriterion("function_icon_url in", values, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlNotIn(List<String> values) {
            addCriterion("function_icon_url not in", values, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlBetween(String value1, String value2) {
            addCriterion("function_icon_url between", value1, value2, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andFunctionIconUrlNotBetween(String value1, String value2) {
            addCriterion("function_icon_url not between", value1, value2, "functionIconUrl");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOrdIsNull() {
            addCriterion("ord is null");
            return (Criteria) this;
        }

        public Criteria andOrdIsNotNull() {
            addCriterion("ord is not null");
            return (Criteria) this;
        }

        public Criteria andOrdEqualTo(Integer value) {
            addCriterion("ord =", value, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdNotEqualTo(Integer value) {
            addCriterion("ord <>", value, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdGreaterThan(Integer value) {
            addCriterion("ord >", value, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ord >=", value, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdLessThan(Integer value) {
            addCriterion("ord <", value, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdLessThanOrEqualTo(Integer value) {
            addCriterion("ord <=", value, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdIn(List<Integer> values) {
            addCriterion("ord in", values, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdNotIn(List<Integer> values) {
            addCriterion("ord not in", values, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdBetween(Integer value1, Integer value2) {
            addCriterion("ord between", value1, value2, "ord");
            return (Criteria) this;
        }

        public Criteria andOrdNotBetween(Integer value1, Integer value2) {
            addCriterion("ord not between", value1, value2, "ord");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeIsNull() {
            addCriterion("trigger_type is null");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeIsNotNull() {
            addCriterion("trigger_type is not null");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeEqualTo(Integer value) {
            addCriterion("trigger_type =", value, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeNotEqualTo(Integer value) {
            addCriterion("trigger_type <>", value, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeGreaterThan(Integer value) {
            addCriterion("trigger_type >", value, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("trigger_type >=", value, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeLessThan(Integer value) {
            addCriterion("trigger_type <", value, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeLessThanOrEqualTo(Integer value) {
            addCriterion("trigger_type <=", value, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeIn(List<Integer> values) {
            addCriterion("trigger_type in", values, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeNotIn(List<Integer> values) {
            addCriterion("trigger_type not in", values, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeBetween(Integer value1, Integer value2) {
            addCriterion("trigger_type between", value1, value2, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("trigger_type not between", value1, value2, "triggerType");
            return (Criteria) this;
        }

        public Criteria andTriggerValueIsNull() {
            addCriterion("trigger_value is null");
            return (Criteria) this;
        }

        public Criteria andTriggerValueIsNotNull() {
            addCriterion("trigger_value is not null");
            return (Criteria) this;
        }

        public Criteria andTriggerValueEqualTo(String value) {
            addCriterion("trigger_value =", value, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueNotEqualTo(String value) {
            addCriterion("trigger_value <>", value, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueGreaterThan(String value) {
            addCriterion("trigger_value >", value, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueGreaterThanOrEqualTo(String value) {
            addCriterion("trigger_value >=", value, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueLessThan(String value) {
            addCriterion("trigger_value <", value, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueLessThanOrEqualTo(String value) {
            addCriterion("trigger_value <=", value, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueLike(String value) {
            addCriterion("trigger_value like", value, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueNotLike(String value) {
            addCriterion("trigger_value not like", value, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueIn(List<String> values) {
            addCriterion("trigger_value in", values, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueNotIn(List<String> values) {
            addCriterion("trigger_value not in", values, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueBetween(String value1, String value2) {
            addCriterion("trigger_value between", value1, value2, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andTriggerValueNotBetween(String value1, String value2) {
            addCriterion("trigger_value not between", value1, value2, "triggerValue");
            return (Criteria) this;
        }

        public Criteria andNeedLoginIsNull() {
            addCriterion("need_login is null");
            return (Criteria) this;
        }

        public Criteria andNeedLoginIsNotNull() {
            addCriterion("need_login is not null");
            return (Criteria) this;
        }

        public Criteria andNeedLoginEqualTo(Integer value) {
            addCriterion("need_login =", value, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginNotEqualTo(Integer value) {
            addCriterion("need_login <>", value, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginGreaterThan(Integer value) {
            addCriterion("need_login >", value, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginGreaterThanOrEqualTo(Integer value) {
            addCriterion("need_login >=", value, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginLessThan(Integer value) {
            addCriterion("need_login <", value, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginLessThanOrEqualTo(Integer value) {
            addCriterion("need_login <=", value, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginIn(List<Integer> values) {
            addCriterion("need_login in", values, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginNotIn(List<Integer> values) {
            addCriterion("need_login not in", values, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginBetween(Integer value1, Integer value2) {
            addCriterion("need_login between", value1, value2, "needLogin");
            return (Criteria) this;
        }

        public Criteria andNeedLoginNotBetween(Integer value1, Integer value2) {
            addCriterion("need_login not between", value1, value2, "needLogin");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Long value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Long value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Long value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Long value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Long value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Long> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Long> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Long value1, Long value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Long value1, Long value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andPlatformNoIsNull() {
            addCriterion("platform_no is null");
            return (Criteria) this;
        }

        public Criteria andPlatformNoIsNotNull() {
            addCriterion("platform_no is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformNoEqualTo(String value) {
            addCriterion("platform_no =", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoNotEqualTo(String value) {
            addCriterion("platform_no <>", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoGreaterThan(String value) {
            addCriterion("platform_no >", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoGreaterThanOrEqualTo(String value) {
            addCriterion("platform_no >=", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoLessThan(String value) {
            addCriterion("platform_no <", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoLessThanOrEqualTo(String value) {
            addCriterion("platform_no <=", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoLike(String value) {
            addCriterion("platform_no like", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoNotLike(String value) {
            addCriterion("platform_no not like", value, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoIn(List<String> values) {
            addCriterion("platform_no in", values, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoNotIn(List<String> values) {
            addCriterion("platform_no not in", values, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoBetween(String value1, String value2) {
            addCriterion("platform_no between", value1, value2, "platformNo");
            return (Criteria) this;
        }

        public Criteria andPlatformNoNotBetween(String value1, String value2) {
            addCriterion("platform_no not between", value1, value2, "platformNo");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}